/* rules 表格输入框校验参数 */
import rulesMode from '@/utils/rules-validator'

const rules = {
  name: rulesMode.copyRequired('请填写您的姓名'),
  mobile: [rulesMode.copyRequired('请填写您的手机号'), ...rulesMode.phone],
  verificationCode: rulesMode.copyRequired('请填写短信验证码'),
  identityNo: [...rulesMode.copyRequired('请填写您的身份证号'), ...rulesMode.idCard],
  businessLicenseUrl: rulesMode.copyRequired('请上传营业执照'),
  idcardFrontUrl: rulesMode.copyRequired('请上传身份证正面'),
  idcardBackgroundUrl: rulesMode.copyRequired('请上传身份证反面'),
}

export default rules
